import { get, post } from "@/utils/request";
// 分页查询
export function queryPageList(query) {
  return get("/mgxxServer/dictionaryLevel/list", query);
}

//新增
export function addDatas(query) {
  return post("/mgxxServer/dictionaryLevel/add", query);
}

//编辑
export function editDatas(query) {
  return post("/mgxxServer/dictionaryLevel/edit", query);
}

// 详情
export function queryById(id) {
  return get("/mgxxServer/dictionaryLevel/queryById", { id });
}

export function deleteDatas(ids) {
  return get("/mgxxServer/dictionaryLevel/deleteBatch", { ids });
}


